﻿using System.Net.Http;

namespace HttpClientLite.Handlers.interfaces;

/// <summary>
/// HttpManager异常处理接口
/// </summary>
public interface IHttpManagerExceptionHandler
{
    /// <summary>
    /// 处理
    /// </summary>
    /// <param name="exception"></param>
    /// <param name="responseMessage"></param>
    void Handle(Exception exception, HttpResponseMessage? responseMessage);
}